package pojo;

import java.io.Serializable;
import java.util.List;

public class Admin implements Serializable {
    //Alt+insert，getter and setter,toString
    private int adminId; //用户Id string,和数据库类型一致，不是整形
    private String password;  //姓名
    private String name;   //性别
    private String type;
    private String phone;

    private String email;
    private String photo;
    private String remake;
    /**
     * 电话，和id一致用电话号码登录
     **/
    public int getAdminId() {
        return adminId;
    }

    public void setAdminId(int adminId) {
        this.adminId = adminId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getRemake() {
        return remake;
    }

    public void setRemake(String remake) {
        this.remake = remake;
    }
}